package test;

import java.util.Scanner;

enum Job {SHOOTER,TANK,MAGICAION,ASSASIN,WARRIOR}
public class EnumDemo {
	public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	
    Job myJob=Job.TANK;
    switch(myJob) {
    case SHOOTER:
    	System.out.println("选了射手各种可以biu biu biu");
    	break;
    case TANK:
    	System.out.println("选了坦克就是挨打的神");
    	break;
    case MAGICAION:
    	System.out.println("每个法师都有一颗近战的心");
    	break;
    case ASSASIN:
    	System.out.println("选了刺客怎能不小刀剌屁股");
    	break;
    case WARRIOR:
    	System.out.println("莽夫一个");
    	break;
    }
	}
}
